public class Fighter {

	private String name;
	private int atk;
	private int hp;
	private final Stats transformation;

	public Fighter(String name, int atk, int hp, Stats transformation) {
		this.name = name;
		this.atk = atk;
		this.hp = hp;
		this.transformation = transformation;
	}

	public void transform() {
		this.name = transformation.getName();
		this.atk = transformation.getAtk();
		this.hp = transformation.getHp();

	}

	public String getName() {
		return name;
	}

	public int getAtk() {
		return atk;
	}

	public int getHp() {
		return hp;
	}

	public String toString() {
		return this.name + "  - ATK: " + this.atk + ", HP: " + this.hp;
	}

}
